package net.osin.crypto

import java.math.BigInteger

import org.bouncycastle.math.ec.ECPoint

/**
 * SM2密钥对Bean
 *
 * @author Potato
 *
 */
class SM2KeyPair private[crypto](val publicKey: ECPoint, val privateKey: BigInt) {
  def getPublicKey: ECPoint = publicKey

  def getPrivateKey: BigInt = privateKey
}
